<?php
    require_once '../include/mysql.class.php';
    $sql = new SQL;
    $sql->connect("localhost","root", "");
    $sql->selectDb("test");
    $foo = $sql->query("SELECT `text` FROM test_table");
    $bar = $sql->fetchRow($foo);
    echo $bar[0];
    $sql->disconnect();
?>
